package com.atguigu.entity;

import java.io.Serializable;

/**
 * 二级分类表(BaseCategory2)实体类
 *
 * @author makejava
 * @since 2024-12-09 21:23:31
 */
public class BaseCategory2 implements Serializable {
    private static final long serialVersionUID = -78453728164174034L;
    /**
     * 二级分类ID
     */
    private Long id;
    /**
     * 二级分类名称
     */
    private String name;
    /**
     * 一级分类编号
     */
    private Long category1Id;

    public BaseCategory2(Long id, String name, Long category1Id) {
        this.id = id;
        this.name = name;
        this.category1Id = category1Id;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCategory1Id() {
        return category1Id;
    }

    public void setCategory1Id(Long category1Id) {
        this.category1Id = category1Id;
    }

}

